import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2022-11-29
 * Time: 19:18
 */
public class Demo2 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        while (scan.hasNextLine()) {
            String str1 = scan.nextLine();
            char[] ch = str1.toCharArray();
            String str2 = "";
            for (int i = 0; i < ch.length; i++) {
                if (ch[i] == ' ') {
                    str2 += ' ';
                } else {
                    if (ch[i] >= 'A' && ch[i] <= 'E') {
                        str2 += (char) (ch[i] + 21);
                    } else {
                        str2 += (char) (ch[i] - 5);
                    }
                }
            }
            System.out.println(str2);
        }
    }
}

